package czx.wt.system.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import czx.wt.system.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ChenZhiXiang
 * @Date: 2019/6/19 21:52
 * @Description: 用户数据层
 */
public interface UserMapper extends BaseMapper<User> {

    User findUserByUsername(@Param("username") String username);

    List<User> getAllUser();
}
